package com.jiawa.train.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jiawa.train.business.domain.TrainCarriage;
import com.jiawa.train.business.req.TrainCarriageQueryReq;
import com.jiawa.train.business.resp.TrainCarriageQueryResp;
import com.jiawa.train.common.resp.PageResp;

import java.util.List;

public interface TrainCarriageService extends IService<TrainCarriage> {
    // 可添加自定义方法声明
    void save(com.jiawa.train.business.req.TrainCarriageSaveReq req);
    PageResp<TrainCarriageQueryResp> queryList(TrainCarriageQueryReq req);
    void delete(Long id);
    List<TrainCarriage> selectByTrainCode(String trainCode);
}
